/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package botlab.gui.levelchooser.actionlistener;

import botlab.gui.levelchooser.JSlideShowLabel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author Quentin
 */
public class PreviousActionListener implements ActionListener
{
    JSlideShowLabel ssp;
    
    public PreviousActionListener(JSlideShowLabel ssp)
    {
        this.ssp=ssp;
    }

    public void actionPerformed(ActionEvent e)
    {
        ssp.previous();
    }
    
}
